﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true"
    CodeBehind="Index.aspx.cs" Inherits="TaobaoERP.Views.Product.Index" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <link href="/Content/jqModal/jqModal.css" rel="stylesheet" type="text/css" />
    <script src="/Content/jqModal/jqModal.js" type="text/javascript"></script>
    <script src="/Content/jqModal/jqDnR.js" type="text/javascript"></script>
    <link href="/Content/jqModal/jqDrag2.css" rel="stylesheet" type="text/css" />
   <link rel="stylesheet" type="text/css" href="/content/PageCss/white/css/pagination.css" />
    <script src="/Scripts/jquery.cookie-min.js" type="text/javascript"></script>
    <script src="/Scripts/pagination.js" type="text/javascript"></script>

    <script>
        $(document).ready(function() {
        $().ready(function() {
        $(".jqmdTC").text("新增商品");
                $('#ex3b').jqm({ ajax: '/Product/ProductAdd', trigger: 'a.ex2trigger', target: 'div.jqmAlertContent',
                    overlay: 0
                });
            }).jqDrag('.jqDrag');
            ///////////////////////////
            $("#pager").pagination({
                totalRecord: 40,
                proxyUrl: '/Product/ListItemByNick',
                configPage: 0,
                showMode: 'full',
                onSetData: function(row, n) {
                    row.find("#Title").text(n.Title);
                    //	        row.find("#ParentID").html("<a href=/Settings/ItemCats/"+n.ParentID+">"+n.ParentID+"</a>");
                    //	        if (n.IsParent)
                    //	        row.find("#Name").html("<a href=/Settings/ItemCats/"+n.ID+">"+n.Name+"</a>");
                    //	        else
                    //	        row.find("#Name").html(n.Name);
                    //	        row.find("#IsParent").text(n.IsParent);
                }
            });

        });
    </script>

    
    <!--Content Title -->
    <table border="0" cellspacing="0" cellpadding="0" width="100%" class="small">
        <tr>
            <td style="height: 2px">
            </td>
        </tr>
        <tr>
            <td style="padding-left: 10px; padding-right: 50px" class="moduleName" nowrap>
                宝贝管理 >
                <%=Html.ActionLink("商品管理","Index","Prodcut") %>=<%=ViewData["id"] %>
            </td>
            <td width="100%" nowrap>
                <table border="0" cellspacing="0" cellpadding="5">
                    <tr>
                        <td style="padding-right: 0px; padding-left: 10px;">
                            <a href="#" class="ex2trigger">
                                <img src="/Content/Images/btnL3Add.gif" border="0" alt="添加宝贝" id="ImageAddProduct" />
                            </a>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <!-- PUBLIC CONTENTS STARTS-->
    <table width="98%" cellspacing="0" cellpadding="0" border="0" align="center">
        <tbody>
            <tr>
                <td valign="top">
                    <img src="/Content/Images/showPanelTopLeft.gif" />
                </td>
                <td width="100%" valign="top" style="padding: 10px;" class="showPanelBg">
                
                    <table width="100%" cellspacing="0" cellpadding="2" border="0" class="small">
                        <tr>
                            <td nowrap="" align="left" style="padding-right: 20px;">
                                查看范围:<%=Html.DropDownList("全部", "SellerCats")%>
                                <input type="button" value="删除" class="delete" />&nbsp;&nbsp;
                            </td>
                        </tr>
                    </table>
                    <!-- List View's Buttons and Filters ends -->
                    <div>
                    <table width="100%" class="listview" cellpadding="3" cellspacing="1">
                        <tr>
                            <th width="1%">
                                <input type="checkbox" name="ListViewselectall" />
                            </th>
                            <th>
                                标题
                            </th>
                            <th>
                                价格
                            </th>
                            <th>
                                支付宝
                            </th>
                            <th>
                                交易方式
                            </th>
                            <th>
                                自动重发
                            </th>
                            <th>
                                数量
                            </th>
                            <th>
                                编辑 | 删除
                            </th>
                        </tr>
                        
                        <tr id="dataTemp" style="display: none">
                            <td width="2%">
                                <input type="checkbox" value="3992" name="selected_id" />
                            </td>
                            <td id="Title">
                                <a href="">
                                    </a>
                            </td>
                            <td align="center">
                                100.00
                            </td>
                            <td align="center">
                                是
                            </td>
                            <td align="center">
                                一口价
                            </td>
                            <td align="center">
                                &nbsp; 是
                            </td>
                            <td align="center">
                                &nbsp; 10
                            </td>
                            <td align="center" width="2%">
                                编辑 |刪除
                            </td>
                        </tr>
                        
                        
                    </table>
                    </div>
                                            <div id="pager" style="text-align: right">
                                            </div>
                    </td>
                <td valign="top">
                    <img src="/Content/Images/showPanelTopRight.gif" />
                </td>
            </tr>
        </tbody>
    </table>
</asp:Content>
